/* test_006 */

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int main (int argc, char **argv)
{
	unsigned i, j;
	char c;
	if (argc != 2) {
		fprintf(stderr, "need 1 argument (integer, [1;255])\n");
		return 2;
	}
	else {
		if ( (j = atoi(argv[1])) > 1) {
		} else {
			j = 255;
		}
		for (i = 0 ; i <= j ; i++) {
			c = i;
			putchar(c);
		}
		printf("\n");
	}
	return 0;
}
